import ProxyInterface from '../proxy-interface';
import { SharePageModel } from '../model/share';

class SharePageProxy implements ProxyInterface<SharePageModel> {
  private sharePage: SharePageModel = new SharePageModel()

  constructor (responseData) {
    let data = responseData
    Object.assign<SharePageModel, any>(this.sharePage, data)
  }

  getModel (): SharePageModel {
    return this.sharePage
  }
}

export {
  SharePageProxy
}
